@layout("/common/head.html"){
<body>
<form id="myform" class="layui-form" style="padding-top:20px">
    <input type="hidden" id="id" name="id" value="${article.id!}"/>
    <#input inputName="标题" id="title" value="${article.title!}" required="required"/>
   	
   	<div class="layui-form-item">
		<label class="layui-form-label required">内容</label>
		<div class="layui-input-block">
			<script id="editor" type="text/plain" style="width:100%;height:500px;"></script>
		</div>
	</div>
   
</form>
</body>
<script type="text/javascript" charset="utf-8" src="${ctxPath}/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="${ctxPath}/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="${ctxPath}/ueditor/lang/zh-cn/zh-cn.js"></script>
  
<script>
layui.use(['form'], function() {
	//创建富文本框
	window.ue = UE.getEditor('editor');
	ue.ready(function() {
	    ue.setContent('${article.content!}');
	});
	
});
</script>
@}